package org.example.service;

import org.example.pojo.CommentVO;
import org.example.pojo.PageResult;
import org.example.pojo.PostVO;
import java.util.Map;

public interface PostService {
    PageResult<PostVO> getPosts(Integer page, Integer pageSize, String type);
    Map<String, Object> toggleLike(Long userId, Long postId);
    CommentVO addComment(Long userId, Long postId, String content);
} 